<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%
	String appPath = request.getContextPath();
%>
	<c:forEach items="${favorites}" var="favorite">
	
			<div class="weui_panel_bd" style="margin-left:20px;">
			<input type="checkbox" name="check" value="${favorite.id}"
							style="float: left; margin-top: 40px;">
				<a href="javascript:window.location.href='<%=appPath%>/${favorite.sku.id}.html';"
					class="weui_media_box weui_media_appmsg">
					<div class="weui_media_hd">
						<img style="height:60px;"
							class="weui_media_appmsg_thumb"
							src="${favorite.goodsImage}" alt="">
					</div>
					<div class="weui_media_bd">
						<h4 class="weui_media_title">${favorite.goodsName }</h4>
						<h3 class="weui_media_title2">￥<fmt:formatNumber value="${favorite.goodsPrice/100}" pattern="#,###.##" /></h3>
						<p class="weui_media_desc">
							销量${ favorite.goods.salenum}<span style="padding-left: 20px;">评论${favorite.goods.evaluationCount}</span>
						</p>
					</div>
				</a>
			</div>
		</c:forEach>
		<c:if test="${over==true}">
			<input id="over" value="true" type="hidden"/>
		</c:if>
